<template>
  <div class="app-detail-icon">
    <div class="left"></div>
    <div class="right">
      <nuxt-link to="/" class="item" v-for="(item,index) in list" :key="index">
        <div class="icon">
          <img :src="item.icon" alt="">
        </div>
        <div class="text">院校库</div>
      </nuxt-link>
    </div>
  </div>
</template>

<script>
export default{
  data(){
    return {
      list:[
        {
          text:'院校库',
          url:'',
          icon:'/icon/yx.png'
        },
        {
          text:'专业库',
          url:'',
          icon:'/icon/zy.png'
        },
        {
          text:'公众号',
          url:'',
          icon:'/icon/ggh.png'
        },
        {
          text:'历年分数线',
          url:'',
          icon:'/icon/fs.png'
        },
        {
          text:'疑难解答',
          url:'',
          icon:'/icon/yn.png'
        },
        {
          text:'QQ群',
          url:'',
          icon:'/icon/QQ.png'
        },
      ]
    }
  }
}
</script>

<style lang="scss" scoped="scoped">
.app-detail-icon{
  background-color: white;
  overflow: hidden;
  .left{
    float: left;
    width: 85px;
    height: 170px;
    background-color: black;
  }
  .right{
    float: right;
    width: calc(100% - 85px);
    display: flex;
    box-sizing: border-box;
    padding: 15px;
    height: 170px;
    flex-wrap: wrap;
    justify-content: space-around;
    .item{
      align-items: center;
      margin-bottom: 5px;
      display: block;
      .icon{
        width: 50px;
        height: 50px;
        padding: 10px;
        box-sizing: border-box;
        // background-color: black;
        img{
          width: 100%;
        }
      }
      .text{
        font-size: 13px;
        color: #333333;
        text-align: center;
        transition: all 0.3s;
      }
      &:hover>.text{
        color: #F5243E;
      }
    }
  }
}


</style>
